FHIR IG Statistics: StructureDefinition/Patient-id-core 
| Package | IdHIE.0v | 
| Resource Type | StructureDefinition | 
| Id | Patient-id-core | 
| FHIR Version | R4 | 
| Source | https://simplifier.net/resolve?scope=IdHIE.0v@0.0.1&canonical=http://fhir.hie.moh.gov.id/StructureDefinition/Patient-id-core | 
| URL | http://fhir.hie.moh.gov.id/StructureDefinition/Patient-id-core | 
| Version | 1.0.0 | 
| Status | active | 
| Date | 2023-06-20T13:26:45.5788435+00:00 | 
| Name | PatientIdCore | 
| Title | Patient (ID Core) | 
| Description | This profile represents the constraints applied to the Patient resource by ID Core FHIR Implementation Guide and describes the minimum expectations for the Patient resource when used in the ID Core composition or in one of the referred resources. | 
| Type | Patient | 
| Kind | resource | 
Resources that use this resource
No resources found
Resources that this resource uses
Narrative
No narrative content found in resource
Source
{
  "resourceType": "StructureDefinition",
  "id": "Patient-id-core",
  "meta": {
    "versionId": "14",
    "lastUpdated": "2023-06-12T06:45:46.244455+00:00"
  },
  "url": "http://fhir.hie.moh.gov.id/StructureDefinition/Patient-id-core",
  "version": "1.0.0",
  "name": "PatientIdCore",
  "title": "Patient (ID Core)",
  "status": "active",
  "date": "2023-06-20T13:26:45.5788435+00:00",
  "description": "This profile represents the constraints applied to the Patient resource by ID Core FHIR Implementation Guide and describes the minimum expectations for the Patient resource when used in the ID Core composition or in one of the referred resources.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient",
        "path": "Patient",
        "constraint": [
          {
            "key": "pat-2",
            "requirements": "MyKadNo must be 12 digit only",
            "severity": "error",
            "human": "MyKadNo must be 12 digit only",
            "expression": "identifier.where(system = 'http://fhir.hie.moh.gov.id/sid/my-kad-no').exists() = false or (identifier.where(system = 'http://fhir.hie.moh.gov.id/sid/my-kad-no').exists() = true and identifier.where(system = 'http://fhir.hie.moh.gov.id/sid/my-kad-no').value.length() = 12)"
          }
        ]
      },
      {
        "id": "Patient.extension",
        "path": "Patient.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Patient.extension:ethnic",
        "path": "Patient.extension",
        "sliceName": "ethnic",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.hie.moh.gov.id/StructureDefinition/ethnic-id-core"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.extension:religion",
        "path": "Patient.extension",
        "sliceName": "religion",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.hie.moh.gov.id/StructureDefinition/religion-id-core"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.extension:nationality",
        "path": "Patient.extension",
        "sliceName": "nationality",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.hie.moh.gov.id/StructureDefinition/nationality-id-core"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.extension:educationLevel",
        "path": "Patient.extension",
        "sliceName": "educationLevel",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.hie.moh.gov.id/StructureDefinition/education-level-id-core"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.extension:child",
        "path": "Patient.extension",
        "sliceName": "child",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.hie.moh.gov.id/StructureDefinition/child-identification-id-core"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.extension:audit",
        "path": "Patient.extension",
        "sliceName": "audit",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.hie.moh.gov.id/StructureDefinition/audit-id-core"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.extension:monthlyHouseholdIncome",
        "path": "Patient.extension",
        "sliceName": "monthlyHouseholdIncome",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.hie.moh.gov.id/StructureDefinition/monthly-household-income-id-core"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.extension:occupationSector",
        "path": "Patient.extension",
        "sliceName": "occupationSector",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.hie.moh.gov.id/StructureDefinition/occupation-sector-id-core"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.extension:citizenship",
        "path": "Patient.extension",
        "sliceName": "citizenship",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.hie.moh.gov.id/StructureDefinition/citizenship-id-core"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.extension:birthplace",
        "path": "Patient.extension",
        "sliceName": "birthplace",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.hie.moh.gov.id/StructureDefinition/birthplace-id-core"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.extension:motherMaidenName",
        "path": "Patient.extension",
        "sliceName": "motherMaidenName",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.hie.moh.gov.id/StructureDefinition/mother-maiden-name-id-core"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "ordered": true,
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Patient.identifier:nationalId",
        "path": "Patient.identifier",
        "sliceName": "nationalId",
        "max": "1"
      },
      {
        "id": "Patient.identifier:nationalId.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "fixedUri": "http://fhir.hie.moh.gov.id/sid/national-id"
      },
      {
        "id": "Patient.identifier:nationalId.value",
        "path": "Patient.identifier.value",
        "min": 1
      },
      {
        "id": "Patient.identifier:patientMrn",
        "path": "Patient.identifier",
        "sliceName": "patientMrn"
      },
      {
        "id": "Patient.identifier:patientMrn.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "fixedUri": "http://fhir.hie.moh.gov.id/sid/patient-mrn"
      },
      {
        "id": "Patient.identifier:patientMrn.value",
        "path": "Patient.identifier.value",
        "min": 1
      },
      {
        "id": "Patient.identifier:motherNo",
        "path": "Patient.identifier",
        "sliceName": "motherNo",
        "max": "1"
      },
      {
        "id": "Patient.identifier:motherNo.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "fixedUri": "http://fhir.hie.moh.gov.id/sid/parent-national-id"
      },
      {
        "id": "Patient.identifier:motherNo.value",
        "path": "Patient.identifier.value",
        "min": 1
      },
      {
        "id": "Patient.identifier:passportNo",
        "path": "Patient.identifier",
        "sliceName": "passportNo"
      },
      {
        "id": "Patient.identifier:passportNo.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "fixedUri": "http://fhir.hie.moh.gov.id/sid/passport-no"
      },
      {
        "id": "Patient.identifier:passportNo.value",
        "path": "Patient.identifier.value",
        "min": 1
      },
      {
        "id": "Patient.identifier:otherNo",
        "path": "Patient.identifier",
        "sliceName": "otherNo"
      },
      {
        "id": "Patient.identifier:otherNo.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "fixedUri": "http://fhir.hie.moh.gov.id/sid/other-no"
      },
      {
        "id": "Patient.identifier:otherNo.value",
        "path": "Patient.identifier.value",
        "min": 1
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "requirements": "Need to be able to track the patient by multiple names. Examples are your official name and a partner name.\r\nThe Alphabetic representation of the name SHALL be always provided",
        "min": 1
      },
      {
        "id": "Patient.name.extension",
        "path": "Patient.name.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Patient.name.extension:personTitle",
        "path": "Patient.name.extension",
        "sliceName": "personTitle",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.hie.moh.gov.id/StructureDefinition/person-title-id-core"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.name.text",
        "path": "Patient.name.text",
        "definition": "Text representation of the full name. Due to the cultural variance around the world a consuming system may not know how to present the name correctly; moreover not all the parts of the name go in given or family. Creators are therefore strongly encouraged to provide through this element a presented version of the name. Future versions of this guide may require this element"
      },
      {
        "id": "Patient.name.family",
        "path": "Patient.name.family",
        "mustSupport": false
      },
      {
        "id": "Patient.name.given",
        "path": "Patient.name.given",
        "min": 1,
        "max": "1",
        "mustSupport": false
      },
      {
        "id": "Patient.birthDate",
        "path": "Patient.birthDate",
        "min": 1,
        "mustSupport": false
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://fhir.hie.moh.gov.id/StructureDefinition/Address-id-core"
            ]
          }
        ]
      },
      {
        "id": "Patient.contact.extension",
        "path": "Patient.contact.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Patient.contact.extension:contactIdentifier",
        "path": "Patient.contact.extension",
        "sliceName": "contactIdentifier",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.hie.moh.gov.id/StructureDefinition/patient-contact-identifier-id-core"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.contact.extension:occupationSector",
        "path": "Patient.contact.extension",
        "sliceName": "occupationSector",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.hie.moh.gov.id/StructureDefinition/occupation-sector-id-core"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.contact.relationship",
        "path": "Patient.contact.relationship",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://fhir.hie.moh.gov.id/ValueSet/relationship-id-core"
        }
      },
      {
        "id": "Patient.contact.name.extension",
        "path": "Patient.contact.name.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Patient.contact.name.extension:personTitle",
        "path": "Patient.contact.name.extension",
        "sliceName": "personTitle",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.hie.moh.gov.id/StructureDefinition/person-title-id-core"
            ]
          }
        ]
      },
      {
        "id": "Patient.contact.address",
        "path": "Patient.contact.address",
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://fhir.hie.moh.gov.id/StructureDefinition/Address-id-core"
            ]
          }
        ]
      },
      {
        "id": "Patient.managingOrganization",
        "path": "Patient.managingOrganization",
        "min": 1
      }
    ]
  }
}